﻿/*
* HeroArmature.cpp
*
* 武将骨骼动画基类
*
* create date: 2014.4.11
* create by: leo
*
*/

#include "HeroArmature.h"

CHeroArmature* CHeroArmature::create(const char *name)
{
	CHeroArmature *armature = new CHeroArmature();
    if (armature && armature->init(name))
    {
        armature->autorelease();
        return armature;
    }
    CC_SAFE_DELETE(armature);
    return NULL;
}

void CHeroArmature::changeStateTo(int state)
{}

CHeroArmature::CHeroArmature()
{}

CHeroArmature::~CHeroArmature()
{}
